package com.zxy.express.service;

import com.autopai.base.common.mybatis.service.BaseService;
import com.autopai.base.common.web.page.PageData;
import com.zxy.express.dto.AchievementDTO;
import com.zxy.express.entity.AchievementEntity;

import java.util.List;
import java.util.Map;

/**
 * 成就勋章定义表
 *
 * @author zhangxiying ${email}
 * @since ${version} 2025-07-01
 */
public interface AchievementService extends BaseService<AchievementEntity> {

    PageData<AchievementDTO> page(Map<String, Object> params);

    List<AchievementDTO> list(Map<String, Object> params);

    AchievementDTO get(String id);

    void save(AchievementDTO dto);

    void update(AchievementDTO dto);

    void delete(String[] ids);
}